﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonsterEngine.Interfaces;
using MongoDB.Bson.Serialization.Attributes;

namespace MonsterEngine.Entities
{
    public class Character:IFightable
    {
        [BsonId]
        public int CharId
        {
            get;
            set;
        }
        public bool isActive { get; set; }
        public int HitPoints
        {
            get;
            set;
        }
        public string Name
        {
            get;
            set;
        }
        public int Level
        {
            get;
            set;
        }
        public List<IAbilities> AbilityList
        {
            get;
            set;
        }
        public int MinDamage
        {
            get;
            set;
        }
        public int MaxDamage
        {
            get;
            set;
        }
        public IFightable Target
        {
            get;
            set;
        }
        public int PhysicalDefense
        {
            get;
            set;
        }
        public int MagicalDefense
        {
            get;
            set;
        }
        public int SpellPower
        {
            get;
            set;
        }
        public int AttackPower
        {
            get;
            set;
        }
        public int Experience
        {
            get;
            set;
        }
        public List<IAugmentable> BuffList
        {
            get;
            set;
        }

        public Character()
        {
            this.CharId = this.GetHashCode();
        }
    }
}
